<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/token.jsp"%>
<%
	Integer id = input.getInt("id", -1);
	List<Map> timeLines = QBuilder.db("basedb").select().from("time_line").where(new Where("hospital=", hospital).and("status=", STATUS_ENABLE).and("id=", id)).query().getResultObj();
	if (isEmpty(timeLines)) {
		Tools.encryptPrint(out, new Message(30041, "没有找到这条记录"));
		return;
	}
	DBTools.db("basedb").delItem("time_line", id);
	Tools.encryptPrint(out, msg);
%>
